package com.zhejiangzhengyuan.municipal_common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhejiangzhengyuan.municipal_common.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import com.zhejiangzhengyuan.municipal_common.entity.dto.RoleDto;
import com.zhejiangzhengyuan.municipal_common.entity.vo.RoleVo;

/**
 * 角色表 服务类
 *
 * @author linju
 * @since 2019-11-22
 */
public interface RoleService extends IService<Role> {
  int insertRole(RoleDto dto);

  int updateRole(RoleDto role);

  int deleteRole(Long id);

  Page<RoleVo> selectRolePage(Page<RoleVo> roleIPage);
}
